{extend name="ly_common/index_menu" /}

{block name="main_content"}
<div id="heading-breadcrumbs">
    <div class="container">
        <div class="row d-flex align-items-center flex-wrap">
            <div class="col-md-7">
                <h1 class="h2">新闻详情</h1>
            </div>
            <div class="col-md-5">
                <ul class="breadcrumb d-flex justify-content-end">
                    <li class="breadcrumb-item"><a href="/">主页</a></li>
                    <li class="breadcrumb-item active">新闻详情</li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div id="content">
    <div class="container">
        <div class="row bar">
            <!-- LEFT COLUMN _________________________________________________________-->
            <div id="blog-listing-big" class="col-md-9">
                <section class="post">
                    <h2>{$news.title ?: ''}</h2>
                    <div class="row">
                        <div class="col-sm-6">
                            <p class="author-category">发布者：<a href="javascript:;">{$news.author ?: ''}</a></p>
                        </div>
                        <div class="col-sm-6 text-right">
                            <p class="date-comments">
                                <a href="javascript:;"><i class="fa fa-calendar-o"></i>{$news.create_at|format_datetime='Y年m月d日'}</a>
                            </p>
                        </div>
                    </div>
                    <div class="image">
                        <img src="{$news.thumb ?: ''}" alt="{$news.title ?: ''}" class="img-fluid">
                    </div>
                    {:$news.content}
                </section>
            </div>
            <!-- RIGHT COLUMN _________________________________________________________-->
            <div class="col-md-3">
                <div class="panel panel-default sidebar-menu">
                    <div class="panel-heading">
                        <h3 class="h4 panel-title">绿苑资讯</h3>
                    </div>
                    <div class="panel-body text-widget">
                        <p>
                            我们致力于高效、准确、全面地报道本行业和其他相关领域、以及本公司的重要项目、大型活动、媒体资讯、优秀人物以及相关政策、最新研究发现、最新重要成果、行业相关知识等新闻资讯。
                        </p>
                    </div>
                </div>
                <div class="panel panel-default sidebar-menu">
                    <div class="panel-heading">
                        <h3 class="h4 panel-title">搜索新闻</h3>
                    </div>
                    <div class="panel-body">
                        <form role="search" method="get">
                            <div class="input-group">
                                <input type="text" name="keywords" placeholder="搜索关键词" value="<?php echo $keywords;?>" class="form-control">
                                <span class="input-group-btn">
                                    <button type="submit" class="btn btn-template-main"><i class="fa fa-search"></i></button>
                                </span>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="panel panel-default sidebar-menu">
                    <div class="panel-heading">
                        <h3 class="h4 panel-title">分类</h3>
                    </div>
                    <div class="panel-body">
                        {notempty name="$aryCatNews"}
                        <ul class="nav nav-pills flex-column text-sm">
                            {foreach $aryCatNews as $k=>$v}
                            <?php $intId = $v['id'];?>
                            <li class="nav-item"><a href="{:url("/item/2-$intId")}" class="nav-link">{$v.name ?: ''}</a></li>
                            {/foreach}
                        </ul>
                        {/notempty}
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>
{/block}


